import React from "react";

const Api = () => {
  const reactKeys = Object.keys(React).filter(
    (i) =>
      ![
        "__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED",
        "version",
      ].includes(i)
  );
  return (
    <div>
      <h3 className="text-purple-500 py-4">React export hooks and api</h3>
      <div className="api-list">
        {reactKeys.map((item) => {
          return (
            <div className="api-item" key={item}>
              {item}
            </div>
          );
        })}
      </div>
    </div>
  );
};

export default Api;
